﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace weighing
{
    /// <summary>
    /// 用户配制
    /// </summary>
    public class UserConfig
    {

        public static UserConfig Default
        {
            get
            {
                return new UserConfig
                {
                    UserId = 0,
                    UserName = "",
                    ShowVideoArea = true,
                    ShowInData = true,
                    ShowInWeighing = true,
                    ShowOutData = true,
                    ShowOutWeighing = true,
                };
            }
        }


        public long UserId { get; set; }
        /// <summary>
        /// 用户名，登录名
        /// </summary>
        public string UserName { get; set; }
        public bool ShowVideoArea { get; set; }
        public bool ShowInWeighing { get; set; }
        public bool ShowInData { get; set; }
        public bool ShowOutWeighing { get; set; } 
        public bool ShowOutData { get; set; }
    }
}
